package com.core.mvc.config;

import java.util.ArrayList;
import java.util.List;

public class InitConfig
{
	private List< String > scanPaths = new ArrayList< String >();
	private String charset = "UTF-8";

	public List< String > getScanPaths()
	{
		return scanPaths;
	}

	public void addScanPath( String scanPath )
	{
		if ( scanPath != null && !scanPaths.contains( scanPath ) )
		{
			this.scanPaths.add( scanPath );
		}
	}

	public String getCharset()
	{
		return charset;
	}

	public void setCharset( String charset )
	{
		this.charset = charset;
	}

	@Override
	public String toString()
	{
		return "Initialize [scanPaths=" + scanPaths + ", charset=" + charset + "]";
	}
}
